<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html><head><title>QAbstractSlider Class Reference</title><style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }
td.postheader { font-family: sans-serif }
tr.address { font-family: sans-serif }
body { background: #ffffff; color: black; }
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">&#160;&#160;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QAbstractSlider Class Reference<br /><sup><sup>[<a href="qtgui.html">QtGui</a> module]</sup></sup></h1><p>The QAbstractSlider class provides an integer value within a
range. <a href="#details">More...</a></p>

<p>Inherits <a href="qwidget.html">QWidget</a>.</p><p>Inherited by <a href="qdial.html">QDial</a>, <a href="qscrollbar.html">QScrollBar</a> and <a href="qslider.html">QSlider</a>.</p><h3>Types</h3><ul><li><div class="fn" />enum <b><a href="qabstractslider.html#SliderAction-enum">SliderAction</a></b> { SliderNoAction, SliderSingleStepAdd, SliderSingleStepSub, SliderPageStepAdd, ..., SliderMove }</li><li><div class="fn" />enum <b><a href="qabstractslider.html#SliderChange-enum">SliderChange</a></b> { SliderRangeChange, SliderOrientationChange, SliderStepsChange, SliderValueChange }</li></ul><h3>Methods</h3><ul><li><div class="fn" /><b><a href="qabstractslider.html#QAbstractSlider">__init__</a></b> (<i>self</i>, QWidget&#160;<i>parent</i>&#160;=&#160;None)</li><li><div class="fn" /><b><a href="qabstractslider.html#changeEvent">changeEvent</a></b> (<i>self</i>, QEvent&#160;<i>e</i>)</li><li><div class="fn" />bool <b><a href="qabstractslider.html#event">event</a></b> (<i>self</i>, QEvent&#160;<i>e</i>)</li><li><div class="fn" />bool <b><a href="qabstractslider.html#hasTracking">hasTracking</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="qabstractslider.html#invertedAppearance">invertedAppearance</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="qabstractslider.html#invertedControls">invertedControls</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="qabstractslider.html#isSliderDown">isSliderDown</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qabstractslider.html#keyPressEvent">keyPressEvent</a></b> (<i>self</i>, QKeyEvent&#160;<i>ev</i>)</li><li><div class="fn" />int <b><a href="qabstractslider.html#maximum">maximum</a></b> (<i>self</i>)</li><li><div class="fn" />int <b><a href="qabstractslider.html#minimum">minimum</a></b> (<i>self</i>)</li><li><div class="fn" />Qt.Orientation <b><a href="qabstractslider.html#orientation">orientation</a></b> (<i>self</i>)</li><li><div class="fn" />int <b><a href="qabstractslider.html#pageStep">pageStep</a></b> (<i>self</i>)</li><li><div class="fn" />SliderAction <b><a href="qabstractslider.html#repeatAction">repeatAction</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qabstractslider.html#setInvertedAppearance">setInvertedAppearance</a></b> (<i>self</i>, bool)</li><li><div class="fn" /><b><a href="qabstractslider.html#setInvertedControls">setInvertedControls</a></b> (<i>self</i>, bool)</li><li><div class="fn" /><b><a href="qabstractslider.html#setMaximum">setMaximum</a></b> (<i>self</i>, int)</li><li><div class="fn" /><b><a href="qabstractslider.html#setMinimum">setMinimum</a></b> (<i>self</i>, int)</li><li><div class="fn" /><b><a href="qabstractslider.html#setOrientation">setOrientation</a></b> (<i>self</i>, Qt.Orientation)</li><li><div class="fn" /><b><a href="qabstractslider.html#setPageStep">setPageStep</a></b> (<i>self</i>, int)</li><li><div class="fn" /><b><a href="qabstractslider.html#setRange">setRange</a></b> (<i>self</i>, int&#160;<i>min</i>, int&#160;<i>max</i>)</li><li><div class="fn" /><b><a href="qabstractslider.html#setRepeatAction">setRepeatAction</a></b> (<i>self</i>, SliderAction&#160;<i>action</i>, int&#160;<i>thresholdTime</i>&#160;=&#160;500, int&#160;<i>repeatTime</i>&#160;=&#160;50)</li><li><div class="fn" /><b><a href="qabstractslider.html#setSingleStep">setSingleStep</a></b> (<i>self</i>, int)</li><li><div class="fn" /><b><a href="qabstractslider.html#setSliderDown">setSliderDown</a></b> (<i>self</i>, bool)</li><li><div class="fn" /><b><a href="qabstractslider.html#setSliderPosition">setSliderPosition</a></b> (<i>self</i>, int)</li><li><div class="fn" /><b><a href="qabstractslider.html#setTracking">setTracking</a></b> (<i>self</i>, bool&#160;<i>enable</i>)</li><li><div class="fn" /><b><a href="qabstractslider.html#setValue">setValue</a></b> (<i>self</i>, int)</li><li><div class="fn" />int <b><a href="qabstractslider.html#singleStep">singleStep</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qabstractslider.html#sliderChange">sliderChange</a></b> (<i>self</i>, SliderChange&#160;<i>change</i>)</li><li><div class="fn" />int <b><a href="qabstractslider.html#sliderPosition">sliderPosition</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qabstractslider.html#timerEvent">timerEvent</a></b> (<i>self</i>, QTimerEvent)</li><li><div class="fn" /><b><a href="qabstractslider.html#triggerAction">triggerAction</a></b> (<i>self</i>, SliderAction&#160;<i>action</i>)</li><li><div class="fn" />int <b><a href="qabstractslider.html#value">value</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qabstractslider.html#wheelEvent">wheelEvent</a></b> (<i>self</i>, QWheelEvent&#160;<i>e</i>)</li></ul><h3>Qt Signals</h3><ul><li><div class="fn" />void <b><a href="qabstractslider.html#actionTriggered">actionTriggered</a></b> (int)</li><li><div class="fn" />void <b><a href="qabstractslider.html#rangeChanged">rangeChanged</a></b> (int,int)</li><li><div class="fn" />void <b><a href="qabstractslider.html#sliderMoved">sliderMoved</a></b> (int)</li><li><div class="fn" />void <b><a href="qabstractslider.html#sliderPressed">sliderPressed</a></b> ()</li><li><div class="fn" />void <b><a href="qabstractslider.html#sliderReleased">sliderReleased</a></b> ()</li><li><div class="fn" />void <b><a href="qabstractslider.html#valueChanged">valueChanged</a></b> (int)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QAbstractSlider class provides an integer value within a
range.</p>
<p>The class is designed as a common super class for widgets like
<a href="qscrollbar.html">QScrollBar</a>, <a href="qslider.html">QSlider</a> and <a href="qdial.html">QDial</a>.</p>
<p>Here are the main properties of the class:</p>
<ol class="1">
<li><a href="qabstractslider.html#value-prop">value</a>: The
bounded integer that QAbstractSlider maintains.</li>
<li><a href="qabstractslider.html#minimum-prop">minimum</a>: The
lowest possible value.</li>
<li><a href="qabstractslider.html#maximum-prop">maximum</a>: The
highest possible value.</li>
<li><a href="qabstractslider.html#singleStep-prop">singleStep</a>:
The smaller of two natural steps that an abstract sliders provides
and typically corresponds to the user pressing an arrow key.</li>
<li><a href="qabstractslider.html#pageStep-prop">pageStep</a>: The
larger of two natural steps that an abstract slider provides and
typically corresponds to the user pressing PageUp or PageDown.</li>
<li><a href="qabstractslider.html#tracking-prop">tracking</a>:
Whether slider tracking is enabled.</li>
<li><a href="qabstractslider.html#sliderPosition-prop">sliderPosition</a>: The
current position of the slider. If <a href="qabstractslider.html#tracking-prop">tracking</a> is enabled (the
default), this is identical to <a href="qabstractslider.html#value-prop">value</a>.</li>
</ol>
<p>Unity (1) may be viewed as a third step size. <a href="qabstractslider.html#value-prop">setValue</a>() lets you set the
current value to any integer in the allowed range, not just
<a href="qabstractslider.html#minimum-prop">minimum</a>() +
<i>n</i> * <a href="qabstractslider.html#singleStep-prop">singleStep</a>() for integer
values of <i>n</i>. Some widgets may allow the user to set any
value at all; others may just provide multiples of <a href="qabstractslider.html#singleStep-prop">singleStep</a>() or <a href="qabstractslider.html#pageStep-prop">pageStep</a>().</p>
<p>QAbstractSlider emits a comprehensive set of signals:</p>
<table class="generic">
<thead>
<tr class="qt-style">
<th>Signal</th>
<th>Emitted when</th>
</tr>
</thead>
<tr class="odd" valign="top">
<td><a href="qabstractslider.html#valueChanged">valueChanged</a>()</td>
<td>the value has changed. The <a href="qabstractslider.html#tracking-prop">tracking</a> determines
whether this signal is emitted during user interaction.</td>
</tr>
<tr class="even" valign="top">
<td><a href="qabstractslider.html#sliderPressed">sliderPressed</a>()</td>
<td>the user starts to drag the slider.</td>
</tr>
<tr class="odd" valign="top">
<td><a href="qabstractslider.html#sliderMoved">sliderMoved</a>()</td>
<td>the user drags the slider.</td>
</tr>
<tr class="even" valign="top">
<td><a href="qabstractslider.html#sliderReleased">sliderReleased</a>()</td>
<td>the user releases the slider.</td>
</tr>
<tr class="odd" valign="top">
<td><a href="qabstractslider.html#actionTriggered">actionTriggered</a>()</td>
<td>a slider action was triggerd.</td>
</tr>
<tr class="even" valign="top">
<td><a href="qabstractslider.html#rangeChanged">rangeChanged</a>()</td>
<td>a the range has changed.</td>
</tr>
</table>
<p>QAbstractSlider provides a virtual <a href="qabstractslider.html#sliderChange">sliderChange</a>() function
that is well suited for updating the on-screen representation of
sliders. By calling <a href="qabstractslider.html#triggerAction">triggerAction</a>(),
subclasses trigger slider actions. Two helper functions <a href="qstyle.html#sliderPositionFromValue">QStyle.sliderPositionFromValue</a>()
and <a href="qstyle.html#sliderValueFromPosition">QStyle.sliderValueFromPosition</a>()
help subclasses and styles to map screen coordinates to logical
range values.</p>
<hr /><h2>Type Documentation</h2><h3 class="fn"><a name="SliderAction-enum" />QAbstractSlider.SliderAction</h3><table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>QAbstractSlider.SliderNoAction</tt></td>
<td class="topAlign"><tt>0</tt></td>
</tr>
<tr>
<td class="topAlign">
<tt>QAbstractSlider.SliderSingleStepAdd</tt></td>
<td class="topAlign"><tt>1</tt></td>
</tr>
<tr>
<td class="topAlign">
<tt>QAbstractSlider.SliderSingleStepSub</tt></td>
<td class="topAlign"><tt>2</tt></td>
</tr>
<tr>
<td class="topAlign">
<tt>QAbstractSlider.SliderPageStepAdd</tt></td>
<td class="topAlign"><tt>3</tt></td>
</tr>
<tr>
<td class="topAlign">
<tt>QAbstractSlider.SliderPageStepSub</tt></td>
<td class="topAlign"><tt>4</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QAbstractSlider.SliderToMinimum</tt></td>
<td class="topAlign"><tt>5</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QAbstractSlider.SliderToMaximum</tt></td>
<td class="topAlign"><tt>6</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QAbstractSlider.SliderMove</tt></td>
<td class="topAlign"><tt>7</tt></td>
</tr>
</table>


<h3 class="fn"><a name="SliderChange-enum" />QAbstractSlider.SliderChange</h3><table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign">
<tt>QAbstractSlider.SliderRangeChange</tt></td>
<td class="topAlign"><tt>0</tt></td>
</tr>
<tr>
<td class="topAlign">
<tt>QAbstractSlider.SliderOrientationChange</tt></td>
<td class="topAlign"><tt>1</tt></td>
</tr>
<tr>
<td class="topAlign">
<tt>QAbstractSlider.SliderStepsChange</tt></td>
<td class="topAlign"><tt>2</tt></td>
</tr>
<tr>
<td class="topAlign">
<tt>QAbstractSlider.SliderValueChange</tt></td>
<td class="topAlign"><tt>3</tt></td>
</tr>
</table>
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QAbstractSlider" />QAbstractSlider.__init__ (<i>self</i>, <a href="qwidget.html">QWidget</a>&#160;<i>parent</i>&#160;=&#160;None)</h3><p>The <i>parent</i> argument, if not None, causes <i>self</i> to be owned by Qt instead of PyQt.</p><p>Constructs an abstract slider.</p>
<p>The <i>parent</i> argument is sent to the <a href="qwidget.html">QWidget</a> constructor.</p>
<p>The <a href="qabstractslider.html#minimum-prop">minimum</a>
defaults to 0, the <a href="qabstractslider.html#maximum-prop">maximum</a> to 99, with a
<a href="qabstractslider.html#singleStep-prop">singleStep</a> size
of 1 and a <a href="qabstractslider.html#pageStep-prop">pageStep</a> size of 10, and
an initial <a href="qabstractslider.html#value-prop">value</a> of
0.</p>


<h3 class="fn"><a name="changeEvent" />QAbstractSlider.changeEvent (<i>self</i>, <a href="qevent.html">QEvent</a>&#160;<i>e</i>)</h3><p>Reimplemented from <a href="qwidget.html#changeEvent">QWidget.changeEvent</a>().</p>


<h3 class="fn"><a name="event" />bool QAbstractSlider.event (<i>self</i>, <a href="qevent.html">QEvent</a>&#160;<i>e</i>)</h3><p>Reimplemented from <a href="qobject.html#event">QObject.event</a>().</p>


<h3 class="fn"><a name="hasTracking" />bool QAbstractSlider.hasTracking (<i>self</i>)</h3><h3 class="fn"><a name="invertedAppearance" />bool QAbstractSlider.invertedAppearance (<i>self</i>)</h3><h3 class="fn"><a name="invertedControls" />bool QAbstractSlider.invertedControls (<i>self</i>)</h3><h3 class="fn"><a name="isSliderDown" />bool QAbstractSlider.isSliderDown (<i>self</i>)</h3><h3 class="fn"><a name="keyPressEvent" />QAbstractSlider.keyPressEvent (<i>self</i>, <a href="qkeyevent.html">QKeyEvent</a>&#160;<i>ev</i>)</h3><p>Reimplemented from <a href="qwidget.html#keyPressEvent">QWidget.keyPressEvent</a>().</p>


<h3 class="fn"><a name="maximum" />int QAbstractSlider.maximum (<i>self</i>)</h3><h3 class="fn"><a name="minimum" />int QAbstractSlider.minimum (<i>self</i>)</h3><h3 class="fn"><a name="orientation" /><a href="qt.html#Orientation-enum">Qt.Orientation</a> QAbstractSlider.orientation (<i>self</i>)</h3><h3 class="fn"><a name="pageStep" />int QAbstractSlider.pageStep (<i>self</i>)</h3><h3 class="fn"><a name="repeatAction" /><a href="qabstractslider.html#SliderAction-enum">SliderAction</a> QAbstractSlider.repeatAction (<i>self</i>)</h3><p>Returns the current repeat action.</p>
<p><b>See also</b> <a href="qabstractslider.html#setRepeatAction">setRepeatAction</a>().</p>


<h3 class="fn"><a name="setInvertedAppearance" />QAbstractSlider.setInvertedAppearance (<i>self</i>, bool)</h3><h3 class="fn"><a name="setInvertedControls" />QAbstractSlider.setInvertedControls (<i>self</i>, bool)</h3><h3 class="fn"><a name="setMaximum" />QAbstractSlider.setMaximum (<i>self</i>, int)</h3><h3 class="fn"><a name="setMinimum" />QAbstractSlider.setMinimum (<i>self</i>, int)</h3><h3 class="fn"><a name="setOrientation" />QAbstractSlider.setOrientation (<i>self</i>, <a href="qt.html#Orientation-enum">Qt.Orientation</a>)</h3><p>This method is also a Qt slot with the C++ signature <tt>void setOrientation(Qt::Orientation)</tt>.</p><h3 class="fn"><a name="setPageStep" />QAbstractSlider.setPageStep (<i>self</i>, int)</h3><h3 class="fn"><a name="setRange" />QAbstractSlider.setRange (<i>self</i>, int&#160;<i>min</i>, int&#160;<i>max</i>)</h3><p>Sets the slider's minimum to <i>min</i> and its maximum to
<i>max</i>.</p>
<p>If <i>max</i> is smaller than <i>min</i>, <i>min</i> becomes the
only legal value.</p>
<p><b>See also</b> <a href="qabstractslider.html#minimum-prop">minimum</a> and <a href="qabstractslider.html#maximum-prop">maximum</a>.</p>


<h3 class="fn"><a name="setRepeatAction" />QAbstractSlider.setRepeatAction (<i>self</i>, <a href="qabstractslider.html#SliderAction-enum">SliderAction</a>&#160;<i>action</i>, int&#160;<i>thresholdTime</i>&#160;=&#160;500, int&#160;<i>repeatTime</i>&#160;=&#160;50)</h3><p>Sets action <i>action</i> to be triggered repetitively in
intervals of <i>repeatTime</i>, after an initial delay of
<i>thresholdTime</i>.</p>
<p><b>See also</b> <a href="qabstractslider.html#triggerAction">triggerAction</a>() and
<a href="qabstractslider.html#repeatAction">repeatAction</a>().</p>


<h3 class="fn"><a name="setSingleStep" />QAbstractSlider.setSingleStep (<i>self</i>, int)</h3><h3 class="fn"><a name="setSliderDown" />QAbstractSlider.setSliderDown (<i>self</i>, bool)</h3><h3 class="fn"><a name="setSliderPosition" />QAbstractSlider.setSliderPosition (<i>self</i>, int)</h3><h3 class="fn"><a name="setTracking" />QAbstractSlider.setTracking (<i>self</i>, bool&#160;<i>enable</i>)</h3><h3 class="fn"><a name="setValue" />QAbstractSlider.setValue (<i>self</i>, int)</h3><p>This method is also a Qt slot with the C++ signature <tt>void setValue(int)</tt>.</p><h3 class="fn"><a name="singleStep" />int QAbstractSlider.singleStep (<i>self</i>)</h3><h3 class="fn"><a name="sliderChange" />QAbstractSlider.sliderChange (<i>self</i>, <a href="qabstractslider.html#SliderChange-enum">SliderChange</a>&#160;<i>change</i>)</h3><p>Reimplement this virtual function to track slider changes such
as <a href="qabstractslider.html#SliderChange-enum">SliderRangeChange</a>,
<a href="qabstractslider.html#SliderChange-enum">SliderOrientationChange</a>,
<a href="qabstractslider.html#SliderChange-enum">SliderStepsChange</a>, or
<a href="qabstractslider.html#SliderChange-enum">SliderValueChange</a>. The
default implementation only updates the display and ignores the
<i>change</i> parameter.</p>


<h3 class="fn"><a name="sliderPosition" />int QAbstractSlider.sliderPosition (<i>self</i>)</h3><h3 class="fn"><a name="timerEvent" />QAbstractSlider.timerEvent (<i>self</i>, <a href="qtimerevent.html">QTimerEvent</a>)</h3><p>Reimplemented from <a href="qobject.html#timerEvent">QObject.timerEvent</a>().</p>


<h3 class="fn"><a name="triggerAction" />QAbstractSlider.triggerAction (<i>self</i>, <a href="qabstractslider.html#SliderAction-enum">SliderAction</a>&#160;<i>action</i>)</h3><p>Triggers a slider <i>action</i>. Possible actions are <a href="qabstractslider.html#SliderAction-enum">SliderSingleStepAdd</a>,
<a href="qabstractslider.html#SliderAction-enum">SliderSingleStepSub</a>,
<a href="qabstractslider.html#SliderAction-enum">SliderPageStepAdd</a>,
<a href="qabstractslider.html#SliderAction-enum">SliderPageStepSub</a>,
<a href="qabstractslider.html#SliderAction-enum">SliderToMinimum</a>,
<a href="qabstractslider.html#SliderAction-enum">SliderToMaximum</a>, and
<a href="qabstractslider.html#SliderAction-enum">SliderMove</a>.</p>
<p><b>See also</b> <a href="qabstractslider.html#actionTriggered">actionTriggered</a>().</p>


<h3 class="fn"><a name="value" />int QAbstractSlider.value (<i>self</i>)</h3><h3 class="fn"><a name="wheelEvent" />QAbstractSlider.wheelEvent (<i>self</i>, <a href="qwheelevent.html">QWheelEvent</a>&#160;<i>e</i>)</h3><p>Reimplemented from <a href="qwidget.html#wheelEvent">QWidget.wheelEvent</a>().</p>
<hr /><h2>Qt Signal Documentation</h2><h3 class="fn"><a name="actionTriggered" />void actionTriggered (int)</h3><p>This is the default overload of this signal.</p><p>This signal is emitted when the slider action <i>action</i> is
triggered. Actions are <a href="qabstractslider.html#SliderAction-enum">SliderSingleStepAdd</a>,
<a href="qabstractslider.html#SliderAction-enum">SliderSingleStepSub</a>,
<a href="qabstractslider.html#SliderAction-enum">SliderPageStepAdd</a>,
<a href="qabstractslider.html#SliderAction-enum">SliderPageStepSub</a>,
<a href="qabstractslider.html#SliderAction-enum">SliderToMinimum</a>,
<a href="qabstractslider.html#SliderAction-enum">SliderToMaximum</a>, and
<a href="qabstractslider.html#SliderAction-enum">SliderMove</a>.</p>
<p>When the signal is emitted, the <a href="qabstractslider.html#sliderPosition-prop">sliderPosition</a> has
been adjusted according to the action, but the <a href="qabstractslider.html#value-prop">value</a> has not yet been
propagated (meaning the <a href="qabstractslider.html#valueChanged">valueChanged</a>() signal was
not yet emitted), and the visual display has not been updated. In
slots connected to this signal you can thus safely adjust any
action by calling <a href="qabstractslider.html#sliderPosition-prop">setSliderPosition</a>()
yourself, based on both the action and the slider's value.</p>
<p><b>See also</b> <a href="qabstractslider.html#triggerAction">triggerAction</a>().</p>


<h3 class="fn"><a name="rangeChanged" />void rangeChanged (int,int)</h3><p>This is the default overload of this signal.</p><p>This signal is emitted when the slider range has changed, with
<i>min</i> being the new minimum, and <i>max</i> being the new
maximum.</p>
<p><b>See also</b> <a href="qabstractslider.html#minimum-prop">minimum</a> and <a href="qabstractslider.html#maximum-prop">maximum</a>.</p>


<h3 class="fn"><a name="sliderMoved" />void sliderMoved (int)</h3><p>This is the default overload of this signal.</p><p>This signal is emitted when <a href="qabstractslider.html#sliderDown-prop">sliderDown</a> is true and
the slider moves. This usually happens when the user is dragging
the slider. The <i>value</i> is the new slider position.</p>
<p>This signal is emitted even when tracking is turned off.</p>
<p><b>See also</b> <a href="qabstractslider.html#tracking-prop">setTracking</a>(), <a href="qabstractslider.html#valueChanged">valueChanged</a>(), <a href="qabstractslider.html#sliderDown-prop">isSliderDown</a>(), <a href="qabstractslider.html#sliderPressed">sliderPressed</a>(), and
<a href="qabstractslider.html#sliderReleased">sliderReleased</a>().</p>


<h3 class="fn"><a name="sliderPressed" />void sliderPressed ()</h3><p>This is the default overload of this signal.</p><p>This signal is emitted when the user presses the slider with the
mouse, or programmatically when setSliderDown(true) is called.</p>
<p><b>See also</b> <a href="qabstractslider.html#sliderReleased">sliderReleased</a>(),
<a href="qabstractslider.html#sliderMoved">sliderMoved</a>(), and
<a href="qabstractslider.html#sliderDown-prop">isSliderDown</a>().</p>


<h3 class="fn"><a name="sliderReleased" />void sliderReleased ()</h3><p>This is the default overload of this signal.</p><p>This signal is emitted when the user releases the slider with
the mouse, or programmatically when setSliderDown(false) is
called.</p>
<p><b>See also</b> <a href="qabstractslider.html#sliderPressed">sliderPressed</a>(), <a href="qabstractslider.html#sliderMoved">sliderMoved</a>(), and <a href="qabstractslider.html#sliderDown-prop">sliderDown</a>.</p>


<h3 class="fn"><a name="valueChanged" />void valueChanged (int)</h3><p>This is the default overload of this signal.</p><p>This signal is emitted when the slider value has changed, with
the new slider <i>value</i> as argument.</p>


<address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;snapshot-4.9.5-9eb6aac99275 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2012</td><td align="right" width="25%">Qt&#160;4.8.3</td></tr></table></div></address></body></html>